package model

import "gorm.io/gorm"

type Article struct {
	gorm.Model
	Title   string `gorm:"not null;type:varchar(255)"`
	Content string `gorm:"not null;type:longtext"`
	User_id uint   `gorm:"not null;type:uint"`
}
type Article_tags struct {
	gorm.Model
	Article_id uint `gorm:"not null;type:uint"`
	Tag_id     uint `gorm:"not null;type:uint"`
}
